package cn.jiangxiong.pethome.base.query;

import lombok.Data;

@Data
public class BaseQuery {
    //提取出来的公共query父类类
    private Integer currentPage = 1;
    private Integer pageSize =  10;

    //关键字查询
    private String keyWord;

    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }

}
